<div data-role="content" data-scroll="y" height="80%">
<div data-iscroll="scroller">
<?php echo validation_errors('<p class="error">'); ?>

<?php
echo form_open('hello_controller/create_hello');?>
<label for="title">Hello Title:</label>
<input type=text name="title">

<label for="area">Area:</label>
<select name="areaid">

<?php foreach($area as $a):?>
<option value="<?=$a->areaid?>"><?=$a->areaname?></option>
<?php endforeach;?>
</select>

<label for="location">Location:</label>
<input type=text name="location">

<label for="mydate">Date:</label>
<input name="date" id="mydate" type="date" data-role="datebox"data-options='{"mode": "flipbox"}'>
<label for="time">Time:</label>
<input name="time" id="time" type="date" data-role="datebox" data-options='{"mode": "timeflipbox"}'>
<input type=submit value="Create Hello!">
<?php echo form_close();
?>
</div>
</div>